import { defineStore } from 'pinia';

export const usereplyStore = defineStore('reply',{
  // 动作
   actions:{
	   show() {
		   this.showReply = true;
		   console.log("show1",this.showReply);
	   },
	   hidden() {
	   		this.showReply = false;
			console.log("hidden1",this.showReply);
	   },
	   show2() {
	   		   this.showReply2 = true;
			   console.log("show2",this.showReply2);
	   },
	   hidden2() {
	   		this.showReply2 = false;
			console.log("hidden2",this.showReply2);
	   },
   },
   // 状态
   state(){
     return {
		showReply:false,
		showReply2:false
     }
   },
   // 计算
   getters:{}
})